Carbon


Entry2Index

Header: Palettes.h Carbon status: Supported

Obtains the index for a specified entry in the current graphics port’s palette on the current device.

SInt32 Entry2Index (
    SInt16 entry
);
Parameter descriptions
entry

The palette entry whose equivalent device index is to be returned.

function result

The index of the given entry.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)